package com.vondear.rxui.view.dialog;

import android.content.Context;
import android.text.method.LinkMovementMethod;
import android.text.method.ScrollingMovementMethod;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.vondear.rxtool.RxRegTool;
import com.vondear.rxtool.RxTextTool;
import com.vondear.rxui.R;

/**
 * 描述：添加类的描述
 *
 * @author
 * @time 2020/4/30
 */
public class RxDialogRedSure extends RxDialog {

    private TextView mTvPrice;
    private TextView mTvGo;
    private RelativeLayout rlBG;
    public RxDialogRedSure(Context context, int themeResId) {
        super(context, themeResId);
        initView();
    }

    public RxDialogRedSure(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        initView();
    }

    public RxDialogRedSure(Context context) {
        super(context);
        initView();
    }

    public RxDialogRedSure(Context context, float alpha, int gravity) {
        super(context, alpha, gravity);
        initView();
    }


    public TextView getmTvPrice() {
        return mTvPrice;
    }

    public TextView getmTvGo() {
        return mTvGo;
    }

    public RelativeLayout getRlBG() {
        return rlBG;
    }

    private void initView() {
        View dialogView = LayoutInflater.from(getContext()).inflate(R.layout.dialog_red_sure, null);
        mTvGo = dialogView.findViewById(R.id.tv_go);
        mTvPrice = dialogView.findViewById(R.id.tv_price);
        rlBG = dialogView.findViewById(R.id.rl_bg);
        setContentView(dialogView);
    }

}
